# -*- coding:utf-8 -*-

"""
    主页 index.html
"""

import tornado.web
from service import base
from utils.routes import route


@route('/', '/')
class ScopeHandler(base.BaseWebHandler):
    """ 主页 index.html
    """

    @tornado.web.asynchronous
    @tornado.gen.engine
    def get(self, *argl, **argd):
        self.redirect('manage')

    @tornado.web.asynchronous
    @tornado.gen.engine
    def post(self, *argl, **argd):
        self.get(*argl, **argd)
